home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d7 / apcp38.arc / MIDET.ASP < prev    next >
Text File  |  1991-01-09  |  8KB  |  385 lines

  1. goto init
  2.  
  3. dial:
  4. strcmp s4 "        "
  5. if success
  6. return
  7. endif
  8. isfile s4
  9. if success
  10. return
  11. endif
  12. clear
  13. box 00 00 02 79 n9
  14. atsay 00 08 n9 "╤══════════╤═════════════════════════════╤"
  15. atsay 01 08 n9 "│          │                             │"
  16. atsay 02 08 n9 "╧══════════╧═════════════════════════════╧"
  17. atsay 01 02 n8 "MIDET"
  18. atsay 01 10 n8 s4
  19. atsay 01 21 n8 "Detroit, MI             313"
  20. atsay 01 51 n8 s5
  21. locate 05 00
  22. transmit "I^m"
  23. pause 1
  24. transmit "ATZ^m"
  25. waitfor "OK"
  26. transmit "^E^m"
  27. waitfor "READY"
  28. transmit "D"
  29. transmit S4
  30. transmit "^m"
  31. rget s1
  32. rget s1 80 40
  33. rget s1 40 40
  34. rget s1 40 40
  35.  
  36. mess:
  37. find s1 "BUSY"
  38. if found
  39. strcpy s9 "M"
  40. return
  41. endif
  42. find s1 "ANSWER TONE"
  43. if found
  44. clear
  45. log open s4
  46. alarm 2
  47. exit
  48. endif
  49. find s1 "RINGING"
  50. if found
  51. rget s1
  52. find s1 "RINGING"
  53. if not found
  54. goto mess
  55. else
  56. log open s4
  57. message "APCP: No answer - still ringing"
  58. log close
  59. transmit "^C^D^C"
  60. endif
  61. else
  62. endif
  63. return
  64.  
  65. top:
  66. find s0 "A"
  67. if found
  68. strcpy s4 "774-7258"
  69. strcpy s5 "Freeform                   "
  70. gosub dial
  71. endif
  72. find s0 "B"
  73. if found
  74. strcpy s4 "882-7104"
  75. strcpy s5 "Trading Post               "
  76. gosub dial
  77. endif
  78. find s0 "C"
  79. if found
  80. strcpy s4 "946-4821"
  81. strcpy s5 "Computer Support           "
  82. gosub dial
  83. endif
  84. find s0 "D"
  85. if found
  86. strcpy s4 "393-0527"
  87. strcpy s5 "PCUtil                     "
  88. gosub dial
  89. endif
  90. find s0 "E"
  91. if found
  92. strcpy s4 "661-0726"
  93. strcpy s5 "Business Board             "
  94. gosub dial
  95. endif
  96. find s0 "F"
  97. if found
  98. strcpy s4 "        "
  99. strcpy s5 "                           "
  100. gosub dial
  101. endif
  102. find s0 "G"
  103. if found
  104. strcpy s4 "949-6665"
  105. strcpy s5 "East Area BBS              "
  106. gosub dial
  107. endif
  108. find s0 "H"
  109. if found
  110. strcpy s4 "291-7716"
  111. strcpy s5 "Cutting Board 23           "
  112. gosub dial
  113. endif
  114. find s0 "I"
  115. if found
  116. strcpy s4 "343-0877"
  117. strcpy s5 "Bit Bucket                 "
  118. gosub dial
  119. endif
  120. find s0 "J"
  121. if found
  122. strcpy s4 "343-2375"
  123. strcpy s5 "SEMCO                      "
  124. gosub dial
  125. endif
  126. find s0 "K"
  127. if found
  128. strcpy s4 "345-6779"
  129. strcpy s5 "OMIK # 3                   "
  130. gosub dial
  131. endif
  132. find s0 "L"
  133. if found
  134. strcpy s4 "525-1009"
  135. strcpy s5 "33 The Wall                "
  136. gosub dial
  137. endif
  138. find s0 "M"
  139. if found
  140. strcpy s4 "567-4834"
  141. strcpy s5 "Control Break              "
  142. gosub dial
  143. endif
  144. find s0 "N"
  145. if found
  146. strcpy s4 "775-1649"
  147. strcpy s5 "Twilight Phone             "
  148. gosub dial
  149. endif
  150. find s0 "O"
  151. if found
  152. strcpy s4 882-7104 "
  153. strcpy s5 "HOST 120 Michigan Net      "
  154. gosub dial
  155. endif
  156. find s0 "P"
  157. if found
  158. strcpy s4 "946-4821"
  159. strcpy s5 "11 Support Board           "
  160. gosub dial
  161. endif
  162. find s0 "Q"
  163. if found
  164. strcpy s4 "        "
  165. strcpy s5 "                           "
  166. gosub dial
  167. endif
  168. find s0 "R"
  169. if found
  170. strcpy s4 "        "
  171. strcpy s5 "                           "
  172. gosub dial
  173. endif
  174. find s0 "S"
  175. if found
  176. strcpy s4 "        "
  177. strcpy s5 "                           "
  178. gosub dial
  179. endif
  180. find s0 "T"
  181. if found
  182. strcpy s4 "        "
  183. strcpy s5 "                           "
  184. gosub dial
  185. endif
  186. find s0 "U"
  187. if found
  188. strcpy s4 "        "
  189. strcpy s5 "                           "
  190. gosub dial
  191. endif
  192. find s0 "V"
  193. if found
  194. strcpy s4 "        "
  195. strcpy s5 "                           "
  196. gosub dial
  197. endif
  198. find s0 "W"
  199. if found
  200. strcpy s4 "        "
  201. strcpy s5 "                           "
  202. gosub dial
  203. endif
  204. find s0 "X"
  205. if found
  206. strcpy s4 "        "
  207. strcpy s5 "                           "
  208. gosub dial
  209. endif
  210. find s0 "Y"
  211. if found
  212. strcpy s4 "        "
  213. strcpy s5 "                           "
  214. gosub dial
  215. endif
  216. find s0 "Z"
  217. if found
  218. strcpy s4 "        "
  219. strcpy s5 "                           "
  220. gosub dial
  221. endif
  222. find s0 "0"
  223. if found
  224. strcpy s4 "        "
  225. strcpy s5 "                           "
  226. gosub dial
  227. endif
  228. find s0 "1"
  229. if found
  230. strcpy s4 "        "
  231. strcpy s5 "                           "
  232. gosub dial
  233. endif
  234. find s0 "2"
  235. if found
  236. strcpy s4 "        "
  237. strcpy s5 "                           "
  238. gosub dial
  239. endif
  240. find s0 "3"
  241. if found
  242. strcpy s4 "        "
  243. strcpy s5 "                           "
  244. gosub dial
  245. endif
  246. find s0 "4"
  247. if found
  248. strcpy s4 "        "
  249. strcpy s5 "                           "
  250. gosub dial
  251. endif
  252. find s0 "5"
  253. if found
  254. strcpy s4 "        "
  255. strcpy s5 "                           "
  256. gosub dial
  257. endif
  258. find s0 "6"
  259. if found
  260. strcpy s4 "        "
  261. strcpy s5 "                           "
  262. gosub dial
  263. endif
  264. find s0 "7"
  265. if found
  266. strcpy s4 "        "
  267. strcpy s5 "                           "
  268. gosub dial
  269. endif
  270. find s0 "8"
  271. if found
  272. strcpy s4 "        "
  273. strcpy s5 "                           "
  274. gosub dial
  275. endif
  276. find s0 "9"
  277. if found
  278. strcpy s4 "        "
  279. strcpy s5 "                           "
  280. gosub dial
  281. endif
  282. find s0 "@"
  283. if found
  284. strcpy s4 "        "
  285. strcpy s5 "                           "
  286. gosub dial
  287. endif
  288. find s0 "#"
  289. if found
  290. strcpy s4 "        "
  291. strcpy s5 "                           "
  292. gosub dial
  293. endif
  294. find s0 "$"
  295. if found
  296. strcpy s4 "        "
  297. strcpy s5 "                           "
  298. gosub dial
  299. endif
  300. find s0 "%"
  301. if found
  302. strcpy s4 "        "
  303. strcpy s5 "                           "
  304. gosub dial
  305. endif
  306. find s0 "&"
  307. if found
  308. strcpy s4 "        "
  309. strcpy s5 "                           "
  310. gosub dial
  311. endif
  312. find s0 "*"
  313. if found
  314. strcpy s4"         "
  315. strcpy s5 "                           "
  316. gosub dial
  317. endif
  318. find s9 "M"
  319. if found
  320. strcpy s9 " "
  321. goto top
  322. endif
  323. clear
  324. box 00 00 02 79 n9
  325. atsay 01 02 n8 "APCP: All numbers connected / didn't answer ... terminating ..."
  326. locate 05 00
  327. alarm 2
  328. exit
  329.  
  330. init:
  331. strcpy s9 " "
  332. log close
  333. clear
  334. init n9 07
  335. init n8 07
  336. box 00 00 22 38 n9
  337. box 00 41 22 79 n9
  338. atsay 01 02 n8 "A Freeform ............... 774-7258"
  339. atsay 02 02 n8 "B Trading Post ........... 882-7104"
  340. atsay 03 02 n8 "C Computer Support ....... 946-4821"
  341. atsay 04 02 n8 "D PCUtil ................. 393-0527"
  342. atsay 05 02 n8 "E Business Board ......... 661-0726"
  343. atsay 06 02 n8 "F ........................ ... ...."
  344. atsay 07 02 n8 "G East Area BBS .......... 949-6665"
  345. atsay 08 02 n8 "H Cutting Board 23 ....... 291-7716"
  346. atsay 09 02 n8 "I Bit Bucket ............. 343-0877"
  347. atsay 10 02 n8 "J Semco .................. 343-2375"
  348. atsay 11 02 n8 "K OMIK #3 ................ 345-6779"
  349. atsay 12 02 n8 "L 33 The Wall ............ 525-1009"
  350. atsay 13 02 n8 "M Control Break .......... 567-4834"
  351. atsay 14 02 n8 "N Twilight Phone ......... 775-1649"
  352. atsay 15 02 n8 "O HOST 120 Michigan Net .. 882-7104"
  353. atsay 16 02 n8 "P 11 Support Board       . 946-4821"
  354. atsay 17 02 n8 "Q ........................ ... ...."
  355. atsay 18 02 n8 "R ........................ ... ...."
  356. atsay 19 02 n8 "S ........................ ... ...."
  357. atsay 20 02 n8 "T ........................ ... ...."
  358. atsay 21 02 n8 "U ........................ ... ...."
  359. atsay 01 43 n8 "V ........................ ... ...."
  360. atsay 02 43 n8 "W ........................ ... ...."
  361. atsay 03 43 n8 "X ........................ ... ...."
  362. atsay 04 43 n8 "Y ........................ ... ...."
  363. atsay 05 43 n8 "Z ........................ ... ...."
  364. atsay 06 43 n8 "0 ........................ ... ...."
  365. atsay 07 43 n8 "1 ........................ ... ...."
  366. atsay 08 43 n8 "2 ........................ ... ...."
  367. atsay 09 43 n8 "3 ........................ ... ...."
  368. atsay 10 43 n8 "4 ........................ ... ...."
  369. atsay 11 43 n8 "5 ........................ ... ...."
  370. atsay 12 43 n8 "6 ........................ ... ...."
  371. atsay 13 43 n8 "7 ........................ ... ...."
  372. atsay 14 43 n8 "8 ........................ ... ...."
  373. atsay 15 43 n8 "9 ........................ ... ...."
  374. atsay 16 43 n8 "@ ........................ ... ...."
  375. atsay 17 43 n8 "# ........................ ... ...."
  376. atsay 18 43 n8 "$ ........................ ... ...."
  377. atsay 19 43 n8 "% ........................ ... ...."
  378. atsay 20 43 n8 "& ........................ ... ...."
  379. atsay 21 43 n8 "* ........................ ... ...."
  380. locate 23 00
  381. get s0
  382. goto top
  383. return
  384. 
  385.